import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
   
    {
      path:'/departmomentAdd',
      component:()=>import('@/views/Depart/DepartmomentAdd.vue')
    },
    {
      path:'/departmomentList',
      component:()=>import('@/views/Depart/DepartmomentList.vue')
    },
    {
      path:'/departmomentUpdate',
      component:()=>import('@/views/Depart/DepartmomentUpdate.vue')
    },
    {
      path:'/adminLogin',
      component:()=>import('@/views/AdminLogin.vue')
    },
    {
      path:'/wardAdd',
      component:()=>import('@/views/Ward/WardAdd.vue')
    },
    {
      path:'/wardList',
      component:()=>import('@/views/Ward/WardList.vue')
    },
    {
      path:'/doctorAdd',
      component:()=>import('@/views/Doctor/DoctorAdd.vue')
    },
    {
      path:'/doctorList',
      component:()=>import('@/views/Doctor/DoctorList.vue')
    },
    {
      path:'/doctorItem',
      component:()=>import('@/views/Doctor/DoctorItem.vue')
    },
  ],
})
export default router
